<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!--used for redirect 
----the parameter message for error message
----url for which url you want to redirct
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="./Res/Bootstrap/css/bootstrap.min.css">
<title>Alert</title>
</head>
<body class="container">
<h3><%= request.getAttribute("message") %></h3>
<%
response.setHeader("refresh","1;URL = "+(String)request.getAttribute("url"));
%>
</body>
</html>